package com.example.elasticsearch.po;

import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CompanyAttributeRelationPo implements Serializable {
	static final long serialVersionUID = -5705559508254389454L;

	@Field(type = FieldType.Integer)
    Integer type;
    
	@Field(type = FieldType.Integer, name = "attribute")
    Integer attribute;

}
